/*
* Copyright (c) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Camerality info container.
*
*/

#ifndef CAMERALITYINFOCONTAINER_H_
#define CAMERALITYINFOCONTAINER_H_

// INCLUDES
#include "cameralitybasecontainer.h"

// FORWARD DECLARATIONS
class CCameralityGLProfiler;

// CLASS DECLARATION
/*!
* Info container class.
* Used to show about application state.
*/
class CCameralityInfoContainer : public CCameralityBaseContainer
    {
public:
    static CCameralityInfoContainer* NewL();
    virtual ~CCameralityInfoContainer();

public: // New functions
    void Show(const TRect& extent);
    void Hide();

private: 
    void Draw(const TRect& aRect) const;
    static TInt RedrawCallback(TAny* aInstance);     

private:
    CCameralityInfoContainer();
    void ConstructL();

private:        
    CCameralityGLProfiler* iProfiler;
    CFbsBitmap* iBitmap;
    CFbsBitmap* iMask;
    CPeriodic* iPeriodic;
    };

#endif /* CAMERALITYINFOCONTAINER_H_ */
